package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import java.util.List;
/**
* <p>
    * ${table.comment!} 服务类
    * </p>
*
* @author ${author}
* @since ${date}
*/
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

        /**
        * 获取${entity}列表
        * @return
        */
        List<${entity}> select${entity}List(${entity} ${table.entityPath});

        /**
        * 插入${entity}
        * @param blogTag
        * @return
        */
        boolean insert${entity}(${entity} ${table.entityPath});

        /**
        * 修改${entity}
        * @param blogTag
        * @return
        */
        boolean update${entity}(${entity} ${table.entityPath});

        /**
        * 删除${entity}
        * @param id
        * @return
        */
        boolean delete${entity}(Long id);
}
</#if>
